package com.example.bean.Controll;

import com.example.bean.Configuration.Configuration;
import com.example.bean.Service.Service;
import com.example.bean.UserInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class UserControll {




@Autowired
    private Service service;

@RequestMapping("/user")
    public String sayHi(){
        System.out.println("Hi Controller");
        service.sayHi();
        return "123";

    }

}
